﻿using Futurism.Example.Shell;
using Futurism.Universal.Foundation;
using System;

namespace Futurism.Example
{
    public class App : BootStrapper
    {
        protected override void OnStart()
        {
            AddModule(typeof(Futurism.Example.Shell.Module));
            AddModule(typeof(Futurism.Example.ModuleA.Module));
            AddModule(typeof(Futurism.Example.ModuleB.Module));
            Run();
            RegionManager.Navigate("Content", "PageA");
        }

        protected override void OnSleep()
        {
            // Handle when your app sleeps
        }

        protected override void OnResume()
        {
            // Handle when your app resumes
        }

        public override Type GetShell()
        {
            return typeof(ShellView);
        }
    }
}
